package com.jg.visitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jg.visitor.domain.LogRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author cqj
 */
@Mapper
public interface LogRecordMapper extends BaseMapper<LogRecord> {
    LogRecord selectLastLogin(Long userId);

    List<LogRecord> selectLastLoginBatch(@Param("userIdList") List<Long> userIdList);
}




